package com.hz.blogService.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hz.blogService.domain.User;
import org.apache.ibatis.annotations.Select;

/**
* @author li
* @description 针对表【users(用户表)】的数据库操作Mapper
* @createDate 2023-09-23 17:13:32
* @Entity com.hz.userService.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user_service.users where is_deleted = 0 and id = #{id}")
    User selectUserById(Integer id);

}




